function makePhoneCall (e) {
  //console.log(e.currentTarget.dataset.tel)
  var that = this;
  var tel = that.data.tel
  wx.makePhoneCall({
    phoneNumber: tel
  })
}
function makePhoneCallB (e) {
  //console.log(e.currentTarget.dataset.tel)
  var that = this;
  var tel = that.data.tel_b
  wx.makePhoneCall({
    phoneNumber: tel
  })
}
function openMap (e) {
  var that = this;
  wx.openLocation({
    latitude: parseFloat(that.data.latitude),
    longitude: parseFloat(that.data.longitude),
    name: that.data.name,
    address: that.data.address,
    scale: 22
  });
}
module.exports = {
  makePhoneCall: makePhoneCall,
  makePhoneCallB: makePhoneCallB,
  openMap: openMap,
}